﻿using System;

namespace Davian.Model
{
    class Sqlserver
    {
        private String server = null;
        private String database = null;
        private String username = null;
        private String password = null;

        public String Server
        {
            get { return server; }
            set { server = value; }
        }

        public String DataBase
        {
            get { return database; }
            set { database = value; }
        }

        public String Username
        {
            get { return username; }
            set { username = value; }
        }

        public String Password
        {
            get { return password; }
            set { password = value; }
        }

        public String ConnectionString
        {
            get { return "server=" + Server + ";database=" + DataBase + ";uid=" + Username + ";pwd=" + Password; }
        }
    }
}
